package com.st.valid.jsr3.customVaild.entity;
import com.st.valid.jsr3.customVaild.ListValue;
import com.st.valid.jsr3.groupValid.mark.AddGroup;
import com.st.valid.jsr3.groupValid.mark.UpdateGroup;
/**
 * @创建人: 放生
 * @创建时间: 2022/4/2
 * @描述:
 */
@lombok.Data
public class CustomRequestVo {

    /**
     * 显示状态[0-不显示；1-显示]可能是一个更大的范围 value = {0,1,2,3,4 ...}
     * @ListValue 接下来要定义的校验注解
     */
    @ListValue(value = {0,1}, groups = {AddGroup.class, UpdateGroup.class})
    private Integer showStatus;



}